﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UserControlDanhMucChinh.ascx.cs" Inherits="TraCuuTinRaoVat.UserControlDanhMucChinh" %>
<style type="text/css">
    .style1
    {
        width: 50%;
    }
    .style3
    {
        width: 292px;
    }
    .style4
    {
        height: 7px;
        width: 136px;
    }
    .style5
    {
        width: 292px;
        height: 7px;
    }
    .style6
    {
        width: 136px;
    }
</style>

<table class="style1">
    <tr>
        <td colspan="2" style="text-align: center">
    
        Thêm danh mục chính:
        </td>
    </tr>
    <tr>
        <td class="style4">
        Tên danh mục:</td>
        <td class="style5">
        <asp:TextBox ID="txtTenDanhMuc" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="valiTenDM" runat="server" 
            ControlToValidate="txtTenDanhMuc" ErrorMessage="*"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="style6">
            Trạng thái:</td>
        <td class="style3">
        <asp:DropDownList ID="dropTrangThai" runat="server">
            <asp:ListItem>0</asp:ListItem>
            <asp:ListItem>1</asp:ListItem>
        </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td class="style6">
        <asp:Button ID="btnThemDanhMucChinh" runat="server" onclick="Button1_Click" 
            Text="Thêm danh mục chính" />
        </td>
        <td class="style3">
            <asp:Button ID="Button1" runat="server" onclick="Button1_Click1" 
                Text="Hủy bỏ" />
        </td>
    </tr>
    <tr>
        <td colspan="2" style="text-align: center">
        <asp:Label ID="lblResultChinh" runat="server" Font-Bold="True" 
            ForeColor="#FF9933"></asp:Label>
        </td>
    </tr>
</table>

